﻿using System.Collections.Generic;

namespace CommonUtils
{
    public static class PairUtil
    {
        public static void Add<TKey, TValue>(this List<Pair<TKey, TValue>> list, TKey key, TValue value)
        => list.Add(new Pair<TKey, TValue>(key, value));

        public static void Add(this List<StringStringPair> list, string key, string value)
        => list.Add(new StringStringPair(key, value));
    }
}
